<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/jsplib/pubhead.jsp"%>
<%@ page import="net.comm.common.ValueMaping" %>
<%@ taglib uri="/WEB-INF/myTaglib.tld" prefix="tag"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<TITLE>社区资料列表</TITLE>
	<link href="${cpath}/css/youlin.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<!--外套 start -->
<div class="wrap">
  <!--页首 start -->
	<%@ include file="/menu.jsp"%>
  <!--页首 end -->  
  
  <!--导航面包屑 start -->
  <div class="breadCrumb">
  <div class="breadCrumbNav">当前位置：<a href="${cpath}/users.do?action=main">我的主页</a> >> <a href="${cpath}/shequ_home/villageID_${theForm.qryVillageID}.html">${myfn:getVillageName(theForm.qryVillageID)}</a> </div>
	<%@ include file="/navf.jsp"%> 
 </div> 
  <!--导航面包屑 end -->
  
  <!--主体 start -->
 <div class="body">
 
  <div class="hotBox1">  
    <div class="hotBox1-left">
		<p><a href="${cpath}/shequ_home/villageID_${theForm.qryVillageID}.html"><img src="${cpath}/images/fm.jpg"   width="75" height="75"  class="shequ icon user_icon_2"></a></p>
		<a href="${cpath}/shequ_home/villageID_${theForm.qryVillageID}.html">${myfn:getVillageName(theForm.qryVillageID)}</a>&nbsp;&gt;&nbsp;<a >社区资料列表</a>
      </div>
    <div class="hotBox1-right">
      <p><a href="javascript:history.go(-1);"><img src="${cpath}/images/icon_32.gif" width="137" height="25" /></a></p>
      <p><a href="${cpath}/gforum.do?action=zladdPage&groupID=99999999&villageID=${theForm.qryVillageID}&firsort=1">新增社区资料</a></p>
    </div>
  </div> 

 <div class="left-Box6">
	<h3 class="nav"><a >社区资料列表</a></h3>

  <div class="left-Box6-content">
   <form action="${cpath}/gforum.do" name="theForm"  method="post" enctype="multipart/form-data" >
   <div class="left-Box6-content-inner">
	<table class="noticeList_tbl"width="95%"  align="center" cellpadding="0" cellspacing="0">
          <tr class="top">
            <td width="5%" align="center">序号</td>
			<td width="10%">分类</td>
			<td width="40%">标题</td>
            <td width="8%">浏览</td>
            <td width="10%">回复</td>
            <td width="13%">作者</td>
            <td width="14%" align="center">最后回复</td>
          </tr>
		  <c:forEach var="forum" items="${forumlist}" varStatus="status"> 
          <tr>
            <td width="5%" align="center">${status.count}</td>
			<td >${myfn:getProperty(4,forum.firsort)}</td>
            <td width="40%">
			<a href="${cpath}/gfollforum_list/qryGForumID_${forum.GForumID}.html"><c:out value="${forum.title}"></c:out></a></td>
            <td width="8%"><c:out value="${forum.attachcnt}"></c:out></td>
            <td width="10%"><c:out value="${forum.replycnt}"></c:out></td>
            <td width="13%"><a href="${cpath}/users_home/userID_${forum.userID}.html"><img src="${cpath}/${myfn:getUserPic(forum.userID)}" width="29" height="27" >&nbsp;${myfn:getUserNick(forum.userID)}</a></td>
            <td width="14%" align="center">${myfn:formatDate14(forum.mtime, "-")}</td>
          </tr>
		  </c:forEach> 
        </table>
   </div>
   <div class="page">
		<input type="hidden" name='qryGroupID' value='${theForm.qryGroupID}'/>
		<input type="hidden" name='qryVillageID' value='${theForm.qryVillageID}'/>
		<!-- 分页主键 formName字段当前的form名称 -->
		<%@ include file="/jsplib/page.jsp" %>
		<!--隐藏域-->
		<input type="hidden" name='action' value='adlist'/>
   </div>
   <div class="clearFloat"></div>
   </form>

  </div>
</div>
  
    <div class="clearFloat"></div>
 </div> 
 <!--主体 end -->
 
 <!--页脚 start -->
	<%@ include file="/foot.jsp"%>
 <!--页脚 end --> 
</div>
<!--外套 end -->

</body>
</html>
<script>
    /**
     * 检查项目资料维护
     */
	function doConfirm()
	{
		var form = document.theForm;

		var action = form['action'];

		form.submit();
	}
</script>
